package com.xyht.sca_s.student_manage_system.modules.visitor.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SmsVisitorManage {
    private String id;
    @ApiModelProperty(value = "门禁名称")
    private String visitorEntranceGuardName;
    @ApiModelProperty(value = "访客姓名")
    private String visitorName;
    @ApiModelProperty(value = "访客人数")
    private int visitorNum;
    @ApiModelProperty(value = "联系人姓名")
    private String visitorContactsName;
    @ApiModelProperty(value = "访客电话号码")
    private String visitorPhoneNum;
    @ApiModelProperty(value = "联系人班级")
    private String visitorContactsClass;
    @ApiModelProperty(value = "车牌号码")
    private String visitorCarNum;
    @ApiModelProperty(value = "联系人电话")
    private String visitorContactsPhone;
    @ApiModelProperty(value = "二维码id")
    private String qrId;
    @ApiModelProperty(value = "进入时间")
    private Date visitorEntranceTime;
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
}
